﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Smartee.RichText;

namespace Mls.Interpreters
{
    public interface IMlsInterpreter
    {
        void StartHeader();
        void EndHeader();

        void StartFooter();
        void EndFooter();

        void StartDocument();
        void EndDocument();

        void StartParagraph(Justification justification, Language.Type language);
        void EndParagraph();

        void StartFootnote();
        void EndFootnote();

        void StartTable(ColumnDefinition[] columns);
        void StartRow();
        void StartCell();
        void EndCell();
        void EndRow();
        void EndTable();

        bool BoldFace { set; }
        bool Underline { set; }
        bool Strike { set; }
        void ChangeLanguage(Language.Type language);

        void SetFont(Language.Type language, int fontId);

        void InsertPageBreak();

        void InsertPageNumber();

        void InsertText(string text);

        void SkippedCommand(string content);
    }
}
